#include "Source/Sprite.h"
#include <iostream>
#include <string>

Sprite::Sprite():
m_sTexture(""),
m_nCurrentFrame(0),
m_nMaxFrames(0),
m_fOrientation(0.0f),
m_fRotation(0.0f),
m_fScale(0.0f)
{
	m_position.push_back(0);
	m_position.push_back(0); 
	std::cerr<<("Initialization . . . ");
}

Sprite::~Sprite() {}

void Sprite::SetPosition(vector2D newPosition)     // Position
{
	m_position = newPosition;
}


 vector2D Sprite::GetPosition() // Position
{
	return m_position;
}

void Sprite::SetTexure(std::string newTexture) // Texture
{
	 m_sTexture = newTexture;
}

std::string Sprite::GetTexture()// Texture
{
	return m_sTexture;
}

void Sprite::SetCurrentFrame(int newFrame) // Current Frame
{
	m_nCurrentFrame = newFrame;
}

int Sprite::GetCurrentFrame()// Current Frame
{
	return m_nCurrentFrame;
}

void Sprite::SetMaxFrames(int newMaxFrames) // Max Frames
{
	m_nMaxFrames = newMaxFrames;
}

int Sprite::GetMaxFrames() // Current Frame
{
	return m_nMaxFrames;
}


void Sprite::SetOrientation(float newOrientation) // Orientation
{
	m_fOrientation = newOrientation;
}

float Sprite::GetOrientation() // Orientation
{
	return m_fOrientation;
}

void Sprite::SetRotation(float newRotation) // Rotation}
{
	m_fRotation = newRotation;
}

float Sprite::GetRotation() // Rotation
{
	return m_fRotation;
}

void Sprite::SetScale(float newScale) // Scale
{
	m_fScale = newScale;
}

float Sprite::GetScale() // Scale
{
	return m_fScale;
}